package com.mx.kn.cstf2.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import javax.sql.DataSource;

import kn.cstf2.assign.Bean.ListaTablaBean;

public interface MainDao {
	 public void setDataSourceStkfsf2(DataSource dataSourceStkfsf2);
	 public void setDataSourceCustomerSalesToolKit(DataSource dataSourceCustomerSalesToolKit);
	 public void updatedFalse(Integer knkey ,Integer id);
	 public void updatedTrue(Integer knkey, Integer id) throws SQLException;
	 public void updatedTrue1(Integer knkey) throws SQLException;
	 public ArrayList<ListaTablaBean> getClientes() throws SQLException;
	 public ListaTablaBean getCliente(Integer knKey) throws SQLException;
	 public List<ListaTablaBean> getCopClient(String companyName, Integer tipoUsuario) throws SQLException;
	 public void insertClient(Integer idUser, Integer idTransition);
	 public boolean validaExistenciaCliente(Integer idUser, Integer idTransition);
}
